package com.haitao.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2017/5/14 20:47
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2017/5/14 20:47
 */
@Controller
public class PageController {

    @RequestMapping("/")
    public String showIndex(){
        return "login";
    }

    @RequestMapping("/{page}")
    public String showPage(@PathVariable String page) {
        return page;
    }
}
